package business.ddz.c2s.iclass;

import jsproto.c2s.cclass.BaseSendMsg;

import java.util.ArrayList;
import java.util.List;


public class SDDZ_SetEnd extends BaseSendMsg {

    public long roomID;
    public int setStatus;
    public long startTime;
    public int roomDouble;// 房间倍数 公共倍数
    public long baseMark = 0;// 底分
    public int landowner = -1;// 地主
    public ArrayList<Integer> doubleNumList; // 倍数
    public ArrayList<Integer> robCloseList; // 春天 -1:反春天 0:没有春天或者饭反春天 1:春天
    public int playBackCode; //回放码
    public List<Double> sportsPointList;
    public List<Integer> pointList; //得分

    public static SDDZ_SetEnd make(long roomID, int setStatus, long startTime, int roomDouble, long baseMark, ArrayList<Integer> pointList, ArrayList<Integer> doubleNumList, ArrayList<Integer> robCloseList, int landowner,int playBackCode,List<Double> sportsPointList) {
        SDDZ_SetEnd ret = new SDDZ_SetEnd();
        ret.roomID = roomID;
        ret.setStatus = setStatus;
        ret.startTime = startTime;
        ret.pointList = pointList;
        ret.roomDouble = roomDouble;
        ret.doubleNumList = doubleNumList;
        ret.robCloseList = robCloseList;
        ret.baseMark = baseMark;
        ret.landowner = landowner;
        ret.playBackCode = playBackCode;
        ret.sportsPointList = sportsPointList;
        return ret;
    }
}
